package com.zky.group.grouporder.feign;

import com.zky.common.entity.SeckillOrderEntity;
import com.zky.common.utils.R;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

//@FeignClient("seckill-kill")
//@RequestMapping("/kill/seckillgoods")
public interface SeckillOrderFeignService {



    /**
     * 信息
     */
    @RequestMapping("/info/{id}")
//    @RequiresPermissions("kill:seckillorder:info")
    public R info(@PathVariable("id") Long id);

    /**
     * 保存
     */
    @RequestMapping("/save")
//    @RequiresPermissions("kill:seckillorder:save")
    public R save(@RequestBody SeckillOrderEntity seckillOrder);

    /**
     * 修改
     */
    @RequestMapping("/update")
//    @RequiresPermissions("kill:seckillorder:update")
    public R update(@RequestBody SeckillOrderEntity seckillOrder);

    /**
     * 删除
     */
    @RequestMapping("/delete")
//    @RequiresPermissions("kill:seckillorder:delete")
    public R delete(@RequestBody Long[] ids);

}
